//
//  CLUser.m
//  Cunli
//
//  Created by lilubin on 15/6/30.
//  Copyright (c) 2015年 lilubin. All rights reserved.
//

#import "CLUser.h"

static CLUser *user = nil;

@implementation CLUser

+ (CLUser *)shareCLUser
{
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        user = [[self alloc] init];
    });
    return user;
}

- (id)perform_string:(NSString *)str
{
    if ([self respondsToSelector:NSSelectorFromString(str)]) {
        return [self performSelector:NSSelectorFromString(str)];
    }
    return nil;
}

@end
